# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'TestsBrowserDialog.ui',
# licensing of 'TestsBrowserDialog.ui' applies.
#
# Created: Sun Apr 14 11:00:08 2019
#      by: pyside2-uic  running on PySide2 5.12.2
#
# WARNING! All changes made in this file will be lost!

from PySide2 import QtCore, QtGui, QtWidgets

class Ui_TestsBrowserDialog(object):
    def setupUi(self, TestsBrowserDialog):
        TestsBrowserDialog.setObjectName("TestsBrowserDialog")
        TestsBrowserDialog.resize(832, 671)
        self.layoutWidget = QtWidgets.QWidget(TestsBrowserDialog)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 811, 651))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayoutMain = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayoutMain.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutMain.setObjectName("verticalLayoutMain")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setContentsMargins(6, 6, 6, 6)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.groupBoxTestList = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxTestList.setMinimumSize(QtCore.QSize(220, 0))
        self.groupBoxTestList.setObjectName("groupBoxTestList")
        self.layoutWidget1 = QtWidgets.QWidget(self.groupBoxTestList)
        self.layoutWidget1.setGeometry(QtCore.QRect(10, 20, 201, 581))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayoutTestList = QtWidgets.QVBoxLayout(self.layoutWidget1)
        self.verticalLayoutTestList.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutTestList.setObjectName("verticalLayoutTestList")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.lineEditTestName = QtWidgets.QLineEdit(self.layoutWidget1)
        self.lineEditTestName.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditTestName.setObjectName("lineEditTestName")
        self.horizontalLayout.addWidget(self.lineEditTestName)
        self.pushButtonSearchTest = QtWidgets.QPushButton(self.layoutWidget1)
        self.pushButtonSearchTest.setStyleSheet("font: 12pt \"宋体\";")
        self.pushButtonSearchTest.setObjectName("pushButtonSearchTest")
        self.horizontalLayout.addWidget(self.pushButtonSearchTest)
        self.verticalLayoutTestList.addLayout(self.horizontalLayout)
        self.line = QtWidgets.QFrame(self.layoutWidget1)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayoutTestList.addWidget(self.line)
        self.listWidgetTests = QtWidgets.QListWidget(self.layoutWidget1)
        self.listWidgetTests.setStyleSheet("font: 12pt \"宋体\";")
        self.listWidgetTests.setObjectName("listWidgetTests")
        self.verticalLayoutTestList.addWidget(self.listWidgetTests)
        self.horizontalLayout_7.addWidget(self.groupBoxTestList)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.commandLinkButtonPreTest = QtWidgets.QCommandLinkButton(self.layoutWidget)
        self.commandLinkButtonPreTest.setMaximumSize(QtCore.QSize(80, 16777215))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/res/uparrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.commandLinkButtonPreTest.setIcon(icon)
        self.commandLinkButtonPreTest.setObjectName("commandLinkButtonPreTest")
        self.horizontalLayout_6.addWidget(self.commandLinkButtonPreTest)
        self.commandLinkButtonNextTest = QtWidgets.QCommandLinkButton(self.layoutWidget)
        self.commandLinkButtonNextTest.setMaximumSize(QtCore.QSize(80, 16777215))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/res/downarrow.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.commandLinkButtonNextTest.setIcon(icon1)
        self.commandLinkButtonNextTest.setObjectName("commandLinkButtonNextTest")
        self.horizontalLayout_6.addWidget(self.commandLinkButtonNextTest)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem)
        self.commandLinkButtonDeleteTest = QtWidgets.QCommandLinkButton(self.layoutWidget)
        self.commandLinkButtonDeleteTest.setMaximumSize(QtCore.QSize(100, 16777215))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/res/Delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.commandLinkButtonDeleteTest.setIcon(icon2)
        self.commandLinkButtonDeleteTest.setObjectName("commandLinkButtonDeleteTest")
        self.horizontalLayout_6.addWidget(self.commandLinkButtonDeleteTest)
        self.commandLinkButtonGenerateReport = QtWidgets.QCommandLinkButton(self.layoutWidget)
        self.commandLinkButtonGenerateReport.setMaximumSize(QtCore.QSize(120, 16777215))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/res/pdf.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.commandLinkButtonGenerateReport.setIcon(icon3)
        self.commandLinkButtonGenerateReport.setObjectName("commandLinkButtonGenerateReport")
        self.horizontalLayout_6.addWidget(self.commandLinkButtonGenerateReport)
        self.verticalLayout_4.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBoxTest = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxTest.setObjectName("groupBoxTest")
        self.layoutWidget_2 = QtWidgets.QWidget(self.groupBoxTest)
        self.layoutWidget_2.setGeometry(QtCore.QRect(10, 20, 241, 91))
        self.layoutWidget_2.setObjectName("layoutWidget_2")
        self.verticalLayoutTest = QtWidgets.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayoutTest.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutTest.setObjectName("verticalLayoutTest")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.layoutWidget_2)
        self.label_2.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_2.setStyleSheet("font: 12pt \"宋体\";")
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.lineEditTestPlanName = QtWidgets.QLineEdit(self.layoutWidget_2)
        self.lineEditTestPlanName.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditTestPlanName.setReadOnly(True)
        self.lineEditTestPlanName.setObjectName("lineEditTestPlanName")
        self.horizontalLayout_3.addWidget(self.lineEditTestPlanName)
        self.verticalLayoutTest.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget_2)
        self.label_4.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_4.setStyleSheet("font: 12pt \"宋体\";")
        self.label_4.setObjectName("label_4")
        self.horizontalLayout_2.addWidget(self.label_4)
        self.lineEditOperator = QtWidgets.QLineEdit(self.layoutWidget_2)
        self.lineEditOperator.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditOperator.setReadOnly(True)
        self.lineEditOperator.setObjectName("lineEditOperator")
        self.horizontalLayout_2.addWidget(self.lineEditOperator)
        self.verticalLayoutTest.addLayout(self.horizontalLayout_2)
        self.verticalLayout_2.addWidget(self.groupBoxTest)
        self.groupBoxEnvironment = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxEnvironment.setObjectName("groupBoxEnvironment")
        self.layoutWidget_3 = QtWidgets.QWidget(self.groupBoxEnvironment)
        self.layoutWidget_3.setGeometry(QtCore.QRect(20, 20, 221, 101))
        self.layoutWidget_3.setObjectName("layoutWidget_3")
        self.gridLayoutEnvironment = QtWidgets.QGridLayout(self.layoutWidget_3)
        self.gridLayoutEnvironment.setContentsMargins(6, 6, 6, 6)
        self.gridLayoutEnvironment.setObjectName("gridLayoutEnvironment")
        self.label_9 = QtWidgets.QLabel(self.layoutWidget_3)
        self.label_9.setStyleSheet("font: 12pt \"宋体\";")
        self.label_9.setObjectName("label_9")
        self.gridLayoutEnvironment.addWidget(self.label_9, 0, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.layoutWidget_3)
        self.label_10.setStyleSheet("font: 12pt \"宋体\";")
        self.label_10.setObjectName("label_10")
        self.gridLayoutEnvironment.addWidget(self.label_10, 1, 0, 1, 1)
        self.label_11 = QtWidgets.QLabel(self.layoutWidget_3)
        self.label_11.setStyleSheet("font: 12pt \"宋体\";")
        self.label_11.setObjectName("label_11")
        self.gridLayoutEnvironment.addWidget(self.label_11, 2, 0, 1, 1)
        self.lineEditEnvironmentHumi = QtWidgets.QLineEdit(self.layoutWidget_3)
        self.lineEditEnvironmentHumi.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditEnvironmentHumi.setReadOnly(True)
        self.lineEditEnvironmentHumi.setObjectName("lineEditEnvironmentHumi")
        self.gridLayoutEnvironment.addWidget(self.lineEditEnvironmentHumi, 1, 1, 1, 1)
        self.lineEditEnvironmentTemp = QtWidgets.QLineEdit(self.layoutWidget_3)
        self.lineEditEnvironmentTemp.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditEnvironmentTemp.setReadOnly(True)
        self.lineEditEnvironmentTemp.setObjectName("lineEditEnvironmentTemp")
        self.gridLayoutEnvironment.addWidget(self.lineEditEnvironmentTemp, 0, 1, 1, 1)
        self.lineEditEnvironmentNotes = QtWidgets.QLineEdit(self.layoutWidget_3)
        self.lineEditEnvironmentNotes.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditEnvironmentNotes.setReadOnly(True)
        self.lineEditEnvironmentNotes.setObjectName("lineEditEnvironmentNotes")
        self.gridLayoutEnvironment.addWidget(self.lineEditEnvironmentNotes, 2, 1, 1, 1)
        self.gridLayoutEnvironment.setRowStretch(0, 1)
        self.gridLayoutEnvironment.setRowStretch(1, 1)
        self.gridLayoutEnvironment.setRowStretch(2, 2)
        self.verticalLayout_2.addWidget(self.groupBoxEnvironment)
        self.horizontalLayout_5.addLayout(self.verticalLayout_2)
        self.groupBoxSample = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxSample.setObjectName("groupBoxSample")
        self.layoutWidget_4 = QtWidgets.QWidget(self.groupBoxSample)
        self.layoutWidget_4.setGeometry(QtCore.QRect(20, 20, 231, 231))
        self.layoutWidget_4.setObjectName("layoutWidget_4")
        self.gridLayoutSample = QtWidgets.QGridLayout(self.layoutWidget_4)
        self.gridLayoutSample.setContentsMargins(6, 6, 6, 6)
        self.gridLayoutSample.setObjectName("gridLayoutSample")
        self.label_5 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_5.setStyleSheet("font: 12pt \"宋体\";")
        self.label_5.setObjectName("label_5")
        self.gridLayoutSample.addWidget(self.label_5, 0, 0, 1, 1)
        self.lineEditCustomer = QtWidgets.QLineEdit(self.layoutWidget_4)
        self.lineEditCustomer.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditCustomer.setReadOnly(True)
        self.lineEditCustomer.setObjectName("lineEditCustomer")
        self.gridLayoutSample.addWidget(self.lineEditCustomer, 0, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_3.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_3.setStyleSheet("font: 12pt \"宋体\";")
        self.label_3.setObjectName("label_3")
        self.gridLayoutSample.addWidget(self.label_3, 1, 0, 1, 1)
        self.lineEditEquipmentName = QtWidgets.QLineEdit(self.layoutWidget_4)
        self.lineEditEquipmentName.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditEquipmentName.setReadOnly(True)
        self.lineEditEquipmentName.setObjectName("lineEditEquipmentName")
        self.gridLayoutSample.addWidget(self.lineEditEquipmentName, 1, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_6.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_6.setStyleSheet("font: 12pt \"宋体\";")
        self.label_6.setObjectName("label_6")
        self.gridLayoutSample.addWidget(self.label_6, 2, 0, 1, 1)
        self.lineEditManufacturer = QtWidgets.QLineEdit(self.layoutWidget_4)
        self.lineEditManufacturer.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditManufacturer.setReadOnly(True)
        self.lineEditManufacturer.setObjectName("lineEditManufacturer")
        self.gridLayoutSample.addWidget(self.lineEditManufacturer, 2, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_7.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_7.setStyleSheet("font: 12pt \"宋体\";")
        self.label_7.setObjectName("label_7")
        self.gridLayoutSample.addWidget(self.label_7, 3, 0, 1, 1)
        self.lineEditModel = QtWidgets.QLineEdit(self.layoutWidget_4)
        self.lineEditModel.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditModel.setText("")
        self.lineEditModel.setReadOnly(True)
        self.lineEditModel.setObjectName("lineEditModel")
        self.gridLayoutSample.addWidget(self.lineEditModel, 3, 1, 1, 1)
        self.label_8 = QtWidgets.QLabel(self.layoutWidget_4)
        self.label_8.setMaximumSize(QtCore.QSize(80, 16777215))
        self.label_8.setStyleSheet("font: 12pt \"宋体\";")
        self.label_8.setObjectName("label_8")
        self.gridLayoutSample.addWidget(self.label_8, 4, 0, 1, 1)
        self.lineEditSerialNumber = QtWidgets.QLineEdit(self.layoutWidget_4)
        self.lineEditSerialNumber.setStyleSheet("font: 12pt \"宋体\";")
        self.lineEditSerialNumber.setText("")
        self.lineEditSerialNumber.setReadOnly(True)
        self.lineEditSerialNumber.setObjectName("lineEditSerialNumber")
        self.gridLayoutSample.addWidget(self.lineEditSerialNumber, 4, 1, 1, 1)
        self.gridLayoutSample.setColumnStretch(0, 1)
        self.gridLayoutSample.setColumnStretch(1, 1)
        self.horizontalLayout_5.addWidget(self.groupBoxSample)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.groupBoxData = QtWidgets.QGroupBox(self.layoutWidget)
        self.groupBoxData.setObjectName("groupBoxData")
        self.layoutWidget2 = QtWidgets.QWidget(self.groupBoxData)
        self.layoutWidget2.setGeometry(QtCore.QRect(10, 20, 541, 241))
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.verticalLayoutData = QtWidgets.QVBoxLayout(self.layoutWidget2)
        self.verticalLayoutData.setContentsMargins(6, 6, 6, 6)
        self.verticalLayoutData.setObjectName("verticalLayoutData")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label = QtWidgets.QLabel(self.layoutWidget2)
        self.label.setStyleSheet("font: 12pt \"宋体\";")
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label)
        self.comboBoxSubTest = QtWidgets.QComboBox(self.layoutWidget2)
        self.comboBoxSubTest.setMinimumSize(QtCore.QSize(160, 0))
        self.comboBoxSubTest.setStyleSheet("font: 12pt \"宋体\";")
        self.comboBoxSubTest.setObjectName("comboBoxSubTest")
        self.horizontalLayout_4.addWidget(self.comboBoxSubTest)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayoutData.addLayout(self.horizontalLayout_4)
        self.tableWidgetData = QtWidgets.QTableWidget(self.layoutWidget2)
        self.tableWidgetData.setObjectName("tableWidgetData")
        self.tableWidgetData.setColumnCount(0)
        self.tableWidgetData.setRowCount(0)
        self.verticalLayoutData.addWidget(self.tableWidgetData)
        self.verticalLayout_4.addWidget(self.groupBoxData)
        self.verticalLayout_4.setStretch(1, 1)
        self.verticalLayout_4.setStretch(2, 1)
        self.horizontalLayout_7.addLayout(self.verticalLayout_4)
        self.horizontalLayout_7.setStretch(1, 1)
        self.verticalLayoutMain.addLayout(self.horizontalLayout_7)
        self.buttonBox = QtWidgets.QDialogButtonBox(self.layoutWidget)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayoutMain.addWidget(self.buttonBox)
        self.label_2.setBuddy(self.lineEditTestPlanName)
        self.label_4.setBuddy(self.lineEditOperator)
        self.label_9.setBuddy(self.lineEditEnvironmentTemp)
        self.label_10.setBuddy(self.lineEditEnvironmentHumi)
        self.label_11.setBuddy(self.lineEditEnvironmentNotes)
        self.label_5.setBuddy(self.lineEditCustomer)
        self.label_3.setBuddy(self.lineEditEquipmentName)
        self.label_6.setBuddy(self.lineEditManufacturer)
        self.label_7.setBuddy(self.lineEditModel)
        self.label_8.setBuddy(self.lineEditSerialNumber)
        self.label.setBuddy(self.comboBoxSubTest)

        self.retranslateUi(TestsBrowserDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), TestsBrowserDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), TestsBrowserDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(TestsBrowserDialog)

    def retranslateUi(self, TestsBrowserDialog):
        TestsBrowserDialog.setWindowTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "测试数据查看", None, -1))
        self.groupBoxTestList.setTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "测试列表", None, -1))
        self.pushButtonSearchTest.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "搜索", None, -1))
        self.commandLinkButtonPreTest.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "前一个", None, -1))
        self.commandLinkButtonNextTest.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "后一个", None, -1))
        self.commandLinkButtonDeleteTest.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "删除测试", None, -1))
        self.commandLinkButtonGenerateReport.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "生成检测报告", None, -1))
        self.groupBoxTest.setTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "测试信息", None, -1))
        self.label_2.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "测试方案：", None, -1))
        self.label_4.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "操 作 员：", None, -1))
        self.groupBoxEnvironment.setTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "环境参数", None, -1))
        self.label_9.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "环境温度（℃）：", None, -1))
        self.label_10.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "环境湿度（RH%）：", None, -1))
        self.label_11.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "其他环境信息：", None, -1))
        self.groupBoxSample.setTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "样品信息", None, -1))
        self.label_5.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "委托方：", None, -1))
        self.label_3.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "样品名称：", None, -1))
        self.label_6.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "生产厂家：", None, -1))
        self.label_7.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "规格/型号：", None, -1))
        self.label_8.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "样品编号：", None, -1))
        self.groupBoxData.setTitle(QtWidgets.QApplication.translate("TestsBrowserDialog", "数据", None, -1))
        self.label.setText(QtWidgets.QApplication.translate("TestsBrowserDialog", "选择测试点：", None, -1))

import KeithleyTestApp_rc
import icons_rc
